package com.bd.scm.dao.mapper.door;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bd.scm.domain.dto.door.DoorDto;
import com.bd.scm.domain.dto.user.UserDto;
import com.bd.scm.domain.models.door.DoorInfo;
import com.bd.scm.domain.models.door.StDoorReal;
import com.bd.scm.domain.models.user.UserInfo;

import java.util.List;

/**
 * 门Mapper接口
 * User: _Cps
 * Date: 2019.08.28 16:45
 */
public interface DoorInfoMapper extends BaseMapper<DoorInfo> {

    IPage<DoorInfo> getDoorList(Page<DoorInfo> doorInfoPage, DoorDto doorDto);

    /**
     * 根据参数获取门信息.
     *
     * @param doorDto 门id字符串或场所id字符串
     * @return
     */
    List<DoorInfo> getDoorInfoByparam(DoorDto doorDto);

}
